<?php
if (! defined ( 'BASEPATH' ))exit ( 'No direct script access allowed' );

class Main extends CI_controller {
	//后台首页
	public function index() {
		
		$this->load->view ( 'index.html');
	}
	public function top() {
		$session=$this->session->all_userdata();
		$data['info']=$session[0];
		$this->load->view ( 'admin_top.html',$data);
	}
	public function left() {
		$this->load->view ( 'left.html' );
	}
	public function right() {
		$this->load->view ( 'right.html' );
	}
	
	public function edit($u_id){
	  echo $u_id;
	}

}